package com.ywk.pattern._17_adapter;

public class Guards extends Player {
    public Guards(String name) {
        super(name);
    }

    @Override
    public void Attack() {
        System.out.println("后卫进攻" + super.name);
    }

    @Override
    public void Defense() {
        System.out.println("后卫防守" + super.name);
    }
}
